<!DOCTYPE html>
<html lang="zh-Hans-CN">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="generator" content="Asciidoctor 1.5.6.1">
<meta name="author" content="WildFly team">
<meta name="description" content="WildFly 入门指南 - Wildfly 文档, Wildfly 中文文档 by iTanken, https://itanken.github.io/wildfly-doc-cn/">
<title>入门指南</title>
<meta name="renderer" content="webkit">
<meta name="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> 
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="icon" type="image/png" href="../../img/icon.png">
<link rel="shortcut icon" type="image/x-icon" href="../../img/icon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
<style>
/* Asciidoctor default stylesheet | MIT License | http://asciidoctor.org */
/* Remove comment around @import statement below when using as a custom stylesheet */
/*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700";*/
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}
audio,canvas,video{display:inline-block}
audio:not([controls]){display:none;height:0}
[hidden],template{display:none}
script{display:none!important}
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
a{background:transparent}
a:focus{outline:thin dotted}
a:active,a:hover{outline:0}
h1{font-size:2em;margin:.67em 0}
abbr[title]{border-bottom:1px dotted}
b,strong{font-weight:bold}
dfn{font-style:italic}
hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}
mark{background:#ff0;color:#000}
code,kbd,pre,samp{font-family:monospace;font-size:1em}
pre{white-space:pre-wrap}
q{quotes:"\201C" "\201D" "\2018" "\2019"}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-.5em}
sub{bottom:-.25em}
img{border:0}
svg:not(:root){overflow:hidden}
figure{margin:0}
fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
legend{border:0;padding:0}
button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}
button,input{line-height:normal}
button,select{text-transform:none}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}
button[disabled],html input[disabled]{cursor:default}
input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}
input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
textarea{overflow:auto;vertical-align:top}
table{border-collapse:collapse;border-spacing:0}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
html,body{font-size:100%}
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
a:hover{cursor:pointer}
img,object,embed{max-width:100%;height:auto}
object,embed{height:100%}
img{-ms-interpolation-mode:bicubic}
.left{float:left!important}
.right{float:right!important}
.text-left{text-align:left!important}
.text-right{text-align:right!important}
.text-center{text-align:center!important}
.text-justify{text-align:justify!important}
.hide{display:none}
img,object,svg{display:inline-block;vertical-align:middle}
textarea{height:auto;min-height:50px}
select{width:100%}
.center{margin-left:auto;margin-right:auto}
.spread{width:100%}
p.lead,.paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{font-size:1.21875em;line-height:1.6}
.subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr}
a{color:#2156a5;text-decoration:underline;line-height:inherit}
a:hover,a:focus{color:#1d4b8f}
a img{border:none}
p{font-family:inherit;font-weight:400;font-size:1em;line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility}
p aside{font-size:.875em;line-height:1.35;font-style:italic}
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{font-family:"Open Sans","DejaVu Sans",sans-serif;font-weight:300;font-style:normal;color:#ba3925;text-rendering:optimizeLegibility;margin-top:1em;margin-bottom:.5em;line-height:1.0125em}
h1 small,h2 small,h3 small,#toctitle small,.sidebarblock>.content>.title small,h4 small,h5 small,h6 small{font-size:60%;color:#e99b8f;line-height:0}
h1{font-size:2.125em}
h2{font-size:1.6875em}
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
h4,h5{font-size:1.125em}
h6{font-size:1em}
hr{border:solid #ddddd8;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}
em,i{font-style:italic;line-height:inherit}
strong,b{font-weight:bold;line-height:inherit}
small{font-size:60%;line-height:inherit}
code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;color:rgba(0,0,0,.9)}
ul,ol,dl{font-size:1em;line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}
ul,ol{margin-left:1.5em}
ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0;font-size:1em}
ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}
ul.square{list-style-type:square}
ul.circle{list-style-type:circle}
ul.disc{list-style-type:disc}
ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}
dl dt{margin-bottom:.3125em;font-weight:bold}
dl dd{margin-bottom:1.25em}
abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help}
abbr{text-transform:none}
blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)}
blockquote cite:before{content:"\2014 \0020"}
blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)}
blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
@media only screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
h1{font-size:2.75em}
h2{font-size:2.3125em}
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
h4{font-size:1.4375em}}
table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede}
table thead,table tfoot{background:#f7f8f7;font-weight:bold}
table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f8f8f7}
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
.clearfix:before,.clearfix:after,.float-group:before,.float-group:after{content:" ";display:table}
.clearfix:after,.float-group:after{clear:both}
*:not(pre)>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background-color:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed;word-wrap:break-word}
*:not(pre)>code.nobreak{word-wrap:normal}
*:not(pre)>code.nowrap{white-space:nowrap}
pre,pre>code{line-height:1.45;color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;text-rendering:optimizeSpeed}
em em{font-style:normal}
strong strong{font-weight:400}
.keyseq{color:rgba(51,51,51,.8)}
kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-block;color:rgba(0,0,0,.8);font-size:.65em;line-height:1.45;background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em white inset;box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em #fff inset;margin:0 .15em;padding:.2em .5em;vertical-align:middle;position:relative;top:-.1em;white-space:nowrap}
.keyseq kbd:first-child{margin-left:0}
.keyseq kbd:last-child{margin-right:0}
.menuseq,.menuref{color:#000}
.menuseq b:not(.caret),.menuref{font-weight:inherit}
.menuseq{word-spacing:-.02em}
.menuseq b.caret{font-size:1.25em;line-height:.8}
.menuseq i.caret{font-weight:bold;text-align:center;width:.45em}
b.button:before,b.button:after{position:relative;top:-1px;font-weight:400}
b.button:before{content:"[";padding:0 3px 0 2px}
b.button:after{content:"]";padding:0 2px 0 3px}
p a>code:hover{color:rgba(0,0,0,.9)}
#header,#content,#footnotes,#footer{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1;position:relative;padding-left:.9375em;padding-right:.9375em}
#header:before,#header:after,#content:before,#content:after,#footnotes:before,#footnotes:after,#footer:before,#footer:after{content:" ";display:table}
#header:after,#content:after,#footnotes:after,#footer:after{clear:both}
#content{margin-top:1.25em}
#content:before{content:none}
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #ddddd8}
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #ddddd8;padding-bottom:8px}
#header .details{border-bottom:1px solid #ddddd8;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap}
#header .details span:first-child{margin-left:-.125em}
#header .details span.email a{color:rgba(0,0,0,.85)}
#header .details br{display:none}
#header .details br+span:before{content:"\00a0\2013\00a0"}
#header .details br+span.author:before{content:"\00a0\22c5\00a0";color:rgba(0,0,0,.85)}
#header .details br+span#revremark:before{content:"\00a0|\00a0"}
#header #revnumber{text-transform:capitalize}
#header #revnumber:after{content:"\00a0"}
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #ddddd8;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
#toc{border-bottom:1px solid #efefed;padding-bottom:.5em}
#toc>ul{margin-left:.125em}
#toc ul.sectlevel0>li>a{font-style:italic}
#toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0}
#toc ul{font-family:"Open Sans","DejaVu Sans",sans-serif;list-style-type:none}
#toc li{line-height:1.3334;margin-top:.3334em}
#toc a{text-decoration:none}
#toc a:active{text-decoration:underline}
#toctitle{color:#7a2518;font-size:1.2em}
@media only screen and (min-width:768px){#toctitle{font-size:1.375em}
body.toc2{padding-left:15em;padding-right:0}
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #efefed;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
#toc.toc2 ul ul{margin-left:0;padding-left:1em}
#toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
body.toc2.toc-right{padding-left:0;padding-right:15em}
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #efefed;left:auto;right:0}}
@media only screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
#toc.toc2{width:20em}
#toc.toc2 #toctitle{font-size:1.375em}
#toc.toc2>ul{font-size:.95em}
#toc.toc2 ul ul{padding-left:1.25em}
body.toc2.toc-right{padding-left:0;padding-right:20em}}
#content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
#content #toc>:first-child{margin-top:0}
#content #toc>:last-child{margin-bottom:0}
#footer{max-width:100%;background-color:rgba(0,0,0,.8);padding:1.25em}
#footer-text{color:rgba(255,255,255,.8);line-height:1.44}
.sect1{padding-bottom:.625em}
@media only screen and (min-width:768px){.sect1{padding-bottom:1.25em}}
.sect1+.sect1{border-top:1px solid #efefed}
#content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
#content h1>a.anchor:before,h2>a.anchor:before,h3>a.anchor:before,#toctitle>a.anchor:before,.sidebarblock>.content>.title>a.anchor:before,h4>a.anchor:before,h5>a.anchor:before,h6>a.anchor:before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
#content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
#content h1>a.link,h2>a.link,h3>a.link,#toctitle>a.link,.sidebarblock>.content>.title>a.link,h4>a.link,h5>a.link,h6>a.link{color:#ba3925;text-decoration:none}
#content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221}
.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic}
table.tableblock>caption.title{white-space:nowrap;overflow:visible;max-width:0}
.paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{color:rgba(0,0,0,.85)}
table.tableblock #preamble>.sectionbody>.paragraph:first-of-type p{font-size:inherit}
.admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}
.admonitionblock>table td.icon{text-align:center;width:80px}
.admonitionblock>table td.icon img{max-width:initial}
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #ddddd8;color:rgba(0,0,0,.6)}
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
.exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
.exampleblock>.content>:first-child{margin-top:0}
.exampleblock>.content>:last-child{margin-bottom:0}
.sidebarblock{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
.sidebarblock>:first-child{margin-top:0}
.sidebarblock>:last-child{margin-bottom:0}
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
.literalblock pre,.listingblock pre:not(.highlight),.listingblock pre[class="highlight"],.listingblock pre[class^="highlight "],.listingblock pre.CodeRay,.listingblock pre.prettyprint{background:#f7f7f8}
.sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1}
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em}
.literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal}
@media only screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}
@media only screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}
.literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)}
.listingblock pre.highlightjs{padding:0}
.listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px}
.listingblock pre.prettyprint{border-width:0}
.listingblock>.content{position:relative}
.listingblock code[data-lang]:before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:#999}
.listingblock:hover code[data-lang]:before{display:block}
.listingblock.terminal pre .command:before{content:attr(data-prompt);padding-right:.5em;color:#999}
.listingblock.terminal pre .command:not([data-prompt]):before{content:"$"}
table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none}
table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0;line-height:1.45}
table.pyhltable td.code{padding-left:.75em;padding-right:0}
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #ddddd8}
pre.pygments .lineno{display:inline-block;margin-right:.25em}
table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
.quoteblock blockquote,.quoteblock blockquote p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
.quoteblock blockquote{margin:0;padding:0;border:0}
.quoteblock blockquote:before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
.quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
.quoteblock .attribution{margin-top:.5em;margin-right:.5ex;text-align:right}
.quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)}
.quoteblock .quoteblock blockquote{padding:0 0 0 .75em}
.quoteblock .quoteblock blockquote:before{display:none}
.verseblock{margin:0 1em 1.25em 1em}
.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
.verseblock pre strong{font-weight:400}
.verseblock .attribution{margin-top:1.25rem;margin-left:.5ex}
.quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
.quoteblock .attribution br,.verseblock .attribution br{display:none}
.quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)}
.quoteblock.abstract{margin:0 0 1.25em 0;display:block}
.quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{text-align:left;word-spacing:0}
.quoteblock.abstract blockquote:before,.quoteblock.abstract blockquote p:first-of-type:before{display:none}
table.tableblock{max-width:100%;border-collapse:separate}
table.tableblock td>.paragraph:last-child p>p:last-child,table.tableblock th>p:last-child,table.tableblock td>p:last-child{margin-bottom:0}
table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
table.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}
table.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}
table.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}
table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px 0}
table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0 0}
table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}
table.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}
table.frame-all{border-width:1px}
table.frame-sides{border-width:0 1px}
table.frame-topbot{border-width:1px 0}
th.halign-left,td.halign-left{text-align:left}
th.halign-right,td.halign-right{text-align:right}
th.halign-center,td.halign-center{text-align:center}
th.valign-top,td.valign-top{vertical-align:top}
th.valign-bottom,td.valign-bottom{vertical-align:bottom}
th.valign-middle,td.valign-middle{vertical-align:middle}
table thead th,table tfoot th{font-weight:bold}
tbody tr th{display:table-cell;line-height:1.6;background:#f7f8f7}
tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
p.tableblock>code:only-child{background:none;padding:0}
p.tableblock{font-size:1em}
td>div.verse{white-space:pre}
ol{margin-left:1.75em}
ul li ol{margin-left:1.5em}
dl dd{margin-left:1.125em}
dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}
ol>li p,ul>li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none}
ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em}
ul.unstyled,ol.unstyled{margin-left:0}
ul.checklist{margin-left:.625em}
ul.checklist li>p:first-child>.fa-square-o:first-child,ul.checklist li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
ul.checklist li>p:first-child>input[type="checkbox"]:first-child{margin-right:.25em}
ul.inline{margin:0 auto .625em auto;margin-left:-1.375em;margin-right:0;padding:0;list-style:none;overflow:hidden}
ul.inline>li{list-style:none;float:left;margin-left:1.375em;display:block}
ul.inline>li>*{display:block}
.unstyled dl dt{font-weight:400;font-style:normal}
ol.arabic{list-style-type:decimal}
ol.decimal{list-style-type:decimal-leading-zero}
ol.loweralpha{list-style-type:lower-alpha}
ol.upperalpha{list-style-type:upper-alpha}
ol.lowerroman{list-style-type:lower-roman}
ol.upperroman{list-style-type:upper-roman}
ol.lowergreek{list-style-type:lower-greek}
.hdlist>table,.colist>table{border:0;background:none}
.hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
td.hdlist1{font-weight:bold;padding-bottom:1.25em}
.literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
.colist>table tr>td:first-of-type{padding:.4em .75em 0 .75em;line-height:1;vertical-align:top}
.colist>table tr>td:first-of-type img{max-width:initial}
.colist>table tr>td:last-of-type{padding:.25em 0}
.thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd}
.imageblock.left,.imageblock[style*="float: left"]{margin:.25em .625em 1.25em 0}
.imageblock.right,.imageblock[style*="float: right"]{margin:.25em 0 1.25em .625em}
.imageblock>.title{margin-bottom:0}
.imageblock.thumb,.imageblock.th{border-width:6px}
.imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em}
.image.left,.image.right{margin-top:.25em;margin-bottom:.25em;display:inline-block;line-height:0}
.image.left{margin-right:.625em}
.image.right{margin-left:.625em}
a.image{text-decoration:none;display:inline-block}
a.image object{pointer-events:none}
sup.footnote,sup.footnoteref{font-size:.875em;position:static;vertical-align:super}
sup.footnote a,sup.footnoteref a{text-decoration:none}
sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline}
#footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em}
#footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em 0;border-width:1px 0 0 0}
#footnotes .footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-left:1.2em;text-indent:-1.05em;margin-bottom:.2em}
#footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none}
#footnotes .footnote:last-of-type{margin-bottom:0}
#content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
.gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}
.gist .file-data>table td.line-data{width:99%}
div.unbreakable{page-break-inside:avoid}
.big{font-size:larger}
.small{font-size:smaller}
.underline{text-decoration:underline}
.overline{text-decoration:overline}
.line-through{text-decoration:line-through}
.aqua{color:#00bfbf}
.aqua-background{background-color:#00fafa}
.black{color:#000}
.black-background{background-color:#000}
.blue{color:#0000bf}
.blue-background{background-color:#0000fa}
.fuchsia{color:#bf00bf}
.fuchsia-background{background-color:#fa00fa}
.gray{color:#606060}
.gray-background{background-color:#7d7d7d}
.green{color:#006000}
.green-background{background-color:#007d00}
.lime{color:#00bf00}
.lime-background{background-color:#00fa00}
.maroon{color:#600000}
.maroon-background{background-color:#7d0000}
.navy{color:#000060}
.navy-background{background-color:#00007d}
.olive{color:#606000}
.olive-background{background-color:#7d7d00}
.purple{color:#600060}
.purple-background{background-color:#7d007d}
.red{color:#bf0000}
.red-background{background-color:#fa0000}
.silver{color:#909090}
.silver-background{background-color:#bcbcbc}
.teal{color:#006060}
.teal-background{background-color:#007d7d}
.white{color:#bfbfbf}
.white-background{background-color:#fafafa}
.yellow{color:#bfbf00}
.yellow-background{background-color:#fafa00}
span.icon>.fa{cursor:default}
a span.icon>.fa{cursor:inherit}
.admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default}
.admonitionblock td.icon .icon-note:before{content:"\f05a";color:#19407c}
.admonitionblock td.icon .icon-tip:before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111}
.admonitionblock td.icon .icon-warning:before{content:"\f071";color:#bf6900}
.admonitionblock td.icon .icon-caution:before{content:"\f06d";color:#bf3400}
.admonitionblock td.icon .icon-important:before{content:"\f06a";color:#bf0000}
.conum[data-value]{display:inline-block;color:#fff!important;background-color:rgba(0,0,0,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
.conum[data-value] *{color:#fff!important}
.conum[data-value]+b{display:none}
.conum[data-value]:after{content:attr(data-value)}
pre .conum[data-value]{position:relative;top:-.125em}
b.conum *{color:inherit!important}
.conum:not([data-value]):empty{display:none}
dt,th.tableblock,td.content,div.footnote{text-rendering:optimizeLegibility}
h1,h2,p,td.content,span.alt{letter-spacing:-.01em}
p strong,td.content strong,div.footnote strong{letter-spacing:-.005em}
p,blockquote,dt,td.content,span.alt{font-size:1.0625rem}
p{margin-bottom:1.25rem}
.sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
.exampleblock>.content{background-color:#fffef7;border-color:#e0e0dc;-webkit-box-shadow:0 1px 4px #e0e0dc;box-shadow:0 1px 4px #e0e0dc}
.print-only{display:none!important}
@media print{@page{margin:1.25cm .75cm}
*{-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}
a{color:inherit!important;text-decoration:underline!important}
a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
a[href^="http:"]:not(.bare):after,a[href^="https:"]:not(.bare):after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
abbr[title]:after{content:" (" attr(title) ")"}
pre,blockquote,tr,img,object,svg{page-break-inside:avoid}
thead{display:table-header-group}
svg{max-width:100%}
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
#toc{border-bottom:1px solid #ddddd8!important;padding-bottom:0!important}
.sect1{padding-bottom:0!important}
.sect1+.sect1{border:0!important}
#header>h1:first-child{margin-top:1.25rem}
body.book #header{text-align:center}
body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em 0}
body.book #header .details{border:0!important;display:block;padding:0!important}
body.book #header .details span:first-child{margin-left:0!important}
body.book #header .details br{display:block}
body.book #header .details br+span:before{content:none!important}
body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important}
body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always}
.listingblock code[data-lang]:before{display:block}
#footer{background:none!important;padding:0 .9375em}
#footer-text{color:rgba(0,0,0,.6)!important;font-size:.9em}
.hide-on-print{display:none!important}
.print-only{display:block!important}
.hide-for-print{display:none!important}
.show-for-print{display:inherit!important}}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<style>
/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
/*pre.CodeRay {background-color:#f7f7f8;}*/
.CodeRay .line-numbers{border-right:1px solid #d8d8d8;padding:0 0.5em 0 .25em}
.CodeRay span.line-numbers{display:inline-block;margin-right:.5em;color:rgba(0,0,0,.3)}
.CodeRay .line-numbers strong{color:rgba(0,0,0,.4)}
table.CodeRay{border-collapse:separate;border-spacing:0;margin-bottom:0;border:0;background:none}
table.CodeRay td{vertical-align: top;line-height:1.45}
table.CodeRay td.line-numbers{text-align:right}
table.CodeRay td.line-numbers>pre{padding:0;color:rgba(0,0,0,.3)}
table.CodeRay td.code{padding:0 0 0 .5em}
table.CodeRay td.code>pre{padding:0}
.CodeRay .debug{color:#fff !important;background:#000080 !important}
.CodeRay .annotation{color:#007}
.CodeRay .attribute-name{color:#000080}
.CodeRay .attribute-value{color:#700}
.CodeRay .binary{color:#509}
.CodeRay .comment{color:#998;font-style:italic}
.CodeRay .char{color:#04d}
.CodeRay .char .content{color:#04d}
.CodeRay .char .delimiter{color:#039}
.CodeRay .class{color:#458;font-weight:bold}
.CodeRay .complex{color:#a08}
.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
.CodeRay .color{color:#099}
.CodeRay .class-variable{color:#369}
.CodeRay .decorator{color:#b0b}
.CodeRay .definition{color:#099}
.CodeRay .delimiter{color:#000}
.CodeRay .doc{color:#970}
.CodeRay .doctype{color:#34b}
.CodeRay .doc-string{color:#d42}
.CodeRay .escape{color:#666}
.CodeRay .entity{color:#800}
.CodeRay .error{color:#808}
.CodeRay .exception{color:inherit}
.CodeRay .filename{color:#099}
.CodeRay .function{color:#900;font-weight:bold}
.CodeRay .global-variable{color:#008080}
.CodeRay .hex{color:#058}
.CodeRay .integer,.CodeRay .float{color:#099}
.CodeRay .include{color:#555}
.CodeRay .inline{color:#000}
.CodeRay .inline .inline{background:#ccc}
.CodeRay .inline .inline .inline{background:#bbb}
.CodeRay .inline .inline-delimiter{color:#d14}
.CodeRay .inline-delimiter{color:#d14}
.CodeRay .important{color:#555;font-weight:bold}
.CodeRay .interpreted{color:#b2b}
.CodeRay .instance-variable{color:#008080}
.CodeRay .label{color:#970}
.CodeRay .local-variable{color:#963}
.CodeRay .octal{color:#40e}
.CodeRay .predefined{color:#369}
.CodeRay .preprocessor{color:#579}
.CodeRay .pseudo-class{color:#555}
.CodeRay .directive{font-weight:bold}
.CodeRay .type{font-weight:bold}
.CodeRay .predefined-type{color:inherit}
.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
.CodeRay .key{color:#808}
.CodeRay .key .delimiter{color:#606}
.CodeRay .key .char{color:#80f}
.CodeRay .value{color:#088}
.CodeRay .regexp .delimiter{color:#808}
.CodeRay .regexp .content{color:#808}
.CodeRay .regexp .modifier{color:#808}
.CodeRay .regexp .char{color:#d14}
.CodeRay .regexp .function{color:#404;font-weight:bold}
.CodeRay .string{color:#d20}
.CodeRay .string .string .string{background:#ffd0d0}
.CodeRay .string .content{color:#d14}
.CodeRay .string .char{color:#d14}
.CodeRay .string .delimiter{color:#d14}
.CodeRay .shell{color:#d14}
.CodeRay .shell .delimiter{color:#d14}
.CodeRay .symbol{color:#990073}
.CodeRay .symbol .content{color:#a60}
.CodeRay .symbol .delimiter{color:#630}
.CodeRay .tag{color:#008080}
.CodeRay .tag-special{color:#d70}
.CodeRay .variable{color:#036}
.CodeRay .insert{background:#afa}
.CodeRay .delete{background:#faa}
.CodeRay .change{color:#aaf;background:#007}
.CodeRay .head{color:#f8f;background:#505}
.CodeRay .insert .insert{color:#080}
.CodeRay .delete .delete{color:#800}
.CodeRay .change .change{color:#66f}
.CodeRay .head .head{color:#f4f}
</style>
</head>
<body id="Getting_Started_Guide" class="book toc2 toc-left">
<div id="header">
<h1 title="Getting Started Guide">入门指南</h1>
<div class="details">
<span id="author" class="author">WildFly 团队</span><br>
<span id="revnumber">版本 16.0.0.Final,</span>
<span id="revdate">2019-02-28T01:16:57Z</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle" title="Getting Started Guide">入门指南</div>
<ul class="sectlevel1">
<li><a href="#getting-started-with-wildfly" title="Getting Started with WildFly 16">1. WildFly 16 入门</a>
<ul class="sectlevel2">
<li><a href="#download" title="Download">1.1. 下载</a></li>
<li><a href="#requirements" title="Requirements">1.2. 要求</a></li>
<li><a href="#installation" title="Installation">1.3. 安装</a></li>
<li><a href="#wildfly---a-quick-tour" title="WildFly - A Quick Tour">1.4. WildFly - 快速浏览</a>
<ul class="sectlevel3">
<li><a href="#wildfly-directory-structure" title="WildFly Directory Structure">1.4.1. WildFly 目录结构</a></li>
<li><a href="#wildfly-10-configurations" title="WildFly 16 Configurations">1.4.2. WildFly 16 配置</a></li>
<li><a href="#starting-wildfly-10" title="Starting WildFly 16">1.4.3. 启动 WildFly 16</a></li>
<li><a href="#starting-wildfly-with-an-alternate-configuration" title="Starting WildFly with an Alternate Configuration">1.4.4. 使用备用配置启动 WildFly</a></li>
<li><a href="#managing-your-wildfly-10" title="Managing your WildFly 16">1.4.5. 管理您的 WildFly 16</a></li>
<li><a href="#modifying-the-example-datasource" title="Modifying the Example DataSource">1.4.6. 修改示例数据源</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="content">
<div id="preamble">
<div class="sectionbody">
<div class="paragraph">
<p title="&#169; 2017 The original authors.">&#169; 2017 原作者</p>
</div>
<!-- toc disabled -->
</div>
</div>
<div class="sect1">
<h2 id="getting-started-with-wildfly" title="Getting Started with WildFly 16">1. WildFly 16 入门</h2>
<div class="sectionbody">
<div class="paragraph">
<p title="WildFly 16 is the latest release in a series of JBoss open-source
application server offerings. WildFly 16 is an exceptionally fast,
lightweight and powerful implementation of the Java Enterprise Edition 8
Platform specifications. The state-of-the-art architecture built on the
Modular Service Container enables services on-demand when your
application requires them. The table below lists the Java Enterprise
Edition 8 technologies and the technologies available in WildFly 16
server configuration profiles.">
WildFly 16 是一系列 JBoss 开源应用服务器产品的最新版本。
WildFly 16 是 Java Enterprise Edition 8 平台规范的极其快速，轻量级和强大的实现。
在模块化服务容器上构建的最先进的体系结构可在您的应用程序需要时按需提供服务。
下表列出了 Java Enterprise Edition 8 技术以及 WildFly 16 服务器配置概要文件中可用的技术。
</p>
</div>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 20%;">
<col style="width: 20%;">
<col style="width: 20%;">
<col style="width: 20%;">
<col style="width: 20%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top" title="Java EE 8 Platform Technology">Java EE 8 平台技术</th>
<th class="tableblock halign-left valign-top" title="Java EE 8 Full Profile">Java EE 8 完整配置文件</th>
<th class="tableblock halign-left valign-top" title="Java EE 8 Web Profile">Java EE 8 Web 配置文件</th>
<th class="tableblock halign-left valign-top" title="WildFly 16 Full Profile">WildFly 16 完整配置文件</th>
<th class="tableblock halign-left valign-top" title="WildFly 16 Web Profile">WildFly 16 Web 配置文件</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java API for Web Socket">JSR-356: Web Socket 的 Java API</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java API for JSON Processing 1.1">JSR-374: JSON 处理 1.1 的 Java API</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java API for JSON Binding 1.0">JSR-367: JSON Binding 1.0 的 Java API</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-369: Java Servlet 4.0</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-372: JavaServer Faces 2.3</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Expression Language 3.0">JSR-341: 表达式语言（EL） 3.0</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="JavaServer Pages 2.3">JSR-245: Java 服务端页面（JSP） 2.3</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-52: Java 服务端页面的标准标签库 (JSTL) 1.2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Batch Applications for the Java Platform 1.0">JSR-352: Java 平台 1.0 的批处理应用程序</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Concurrency Utilities for Java EE 1.0">JSR-236: Java EE 1.0 的并发实用程序</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Contexts and Dependency Injection for Java 2.0">JSR-365: Java 2.0 的上下文和依赖注入</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Dependency Injection for Java 1.0">JSR-330: Java 1.0 的依赖注入</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Bean Validation 2.0">JSR-380: Bean 验证 2.0</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Enterprise JavaBeans 3.2">JSR-345: 企业 JavaBeans 3.2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="XCMP 2.0 Optional">XCMP 2.0 可选</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="X(Lite)">X(精简版)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="XCMP 2.0 Not Available">XCMP 2.0 不可用</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="X(Lite)">X(精简版)</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Interceptors 1.2">JSR-318: 拦截器 1.2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java EE Connector Architecture 1.7">JSR-322: Java EE 连接器体系结构 1.7</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java Persistence 2.2">JSR-338: Java 持久化 2.2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Common Annotations for the Java Platform 1.3">JSR-250: Java 平台 1.3 的通用注释</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java Message Service API 2.0">JSR-343: Java消息服务 API 2.0</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java Transaction API 1.2">JSR-907: Java 事务 API 1.2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-919: JavaMail 1.6</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-370: Java API for RESTFul Web Services 2.1</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-109: Implementing Enterprise Web Services 1.3</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-224: Java API for XML-Based Web Services 2.3</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-181: Web Services Metadata for the Java Platform</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java API for XML-Based RPC 1.1">JSR-101: 基于 XML 的 RPC 1.1 的 Java API</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Optional">可选</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-67: Java APIs for XML Messaging 1.3</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-93: Java API for XML Registries</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Optional">可选</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">JSR-222: Java Architecture for XML Binding (JAXB) 2.3</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java Authentication Service Provider Interface for Containers 1.1">JSR-196: Containers 1.1 的 Java 身份验证服务提供程序接口</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java Authorization Contract for Containers 1.5">JSR-115: Containers 1.5 的 Java 授权协议</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java EE Application Deployment 1.2">JSR-88: Java EE 应用程序部署 1.2</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Optional">可选</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">&#8201;&#8212;&#8201;</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="J2EE Management 1.1">JSR-77: J2EE 管理 1.1</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"> </p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"> </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Debugging Support for Other Languages 1.0">JSR-45: 对其他语言的调试支持 1.0</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock" title="Java EE Security API 1.0">JSR-375: Java EE 安全 API 1.0</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">X</p></td>
</tr>
</tbody>
</table>
<div class="paragraph">
<p title="Missing ActiveMQ Artemis and JMS?">缺少 ActiveMQ Artemis 和 JMS？</p>
</div>
<div class="admonitionblock warning">
<table>
<tr>
<td class="icon">
<i class="fa icon-warning" title="Warning"></i>
</td>
<td class="content" title="The WildFly Web Profile doesn&#8217;t include JMS (provided by ActiveMQ Artemis) by
default. If you want to use messaging, make sure you start the server
using the 'Full Profile' configuration.">
  默认情况下，WildFly Web配置文件不包含JMS（由ActiveMQ Artemis提供）。
  如果要使用消息传递，请确保使用 “完整配置文件” <code>"Full Profile"</code> 配置启动服务器。
</td>
</tr>
</table>
</div>
<div class="paragraph">
<p title="This document provides a quick overview on how to download and get
started using WildFly 16 for your application development. For in-depth
content on administrative features, refer to the WildFly 16 Admin Guide.">
  本文档提供了有关如何下载和开始使用WildFly 16进行应用程序开发的快速概述。有关管理功能的深入内容，请参阅WildFly 16管理员指南。
</p>
</div>
<div class="sect2">
<h3 id="download" title="Download">1.1. 下载</h3>
<div class="paragraph">
<p title="WildFly 16 distributions can be obtained from:">WildFly 16 发行版可以从以下位置获得：</p>
</div>
<div class="paragraph">
<p><a href="http://www.wildfly.org/downloads/" target="_blank">wildfly.org/downloads</a></p>
</div>
<div class="paragraph">
<p title="WildFly 16 provides a single distribution available in zip or tar file formats.">
  WildFly 16 提供 zip 或 tar 文件格式的单一发行版。
</p>
</div>
<div class="ulist">
<ul>
<li>
<p><strong>wildfly-16.0.0.Final.zip</strong></p>
</li>
<li>
<p><strong>wildfly-16.0.0.Final.tar.gz</strong></p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="requirements" title="Requirements">1.2. 要求</h3>
<div class="ulist">
<ul>
<li>
<p title="Java SE 8 or later. We recommend that you use the latest available update of the current long-term support Java release.">
  Java SE 8 或更高版本。我们建议您使用当前长期支持 Java 版本的最新可用更新。
</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="installation" title="Installation">1.3. 安装</h3>
<div class="paragraph">
<p title="Simply extract your chosen download to the directory of your choice. You
can install WildFly 16 on any operating system that supports the zip or
tar formats. Refer to the Release Notes for additional information
related to the release.">
  只需将您选择的下载提取到您选择的目录中即可。您可以在任何支持 zip 或 tar 格式的操作系统上安装WildFly 16。有关该版本的其他信息，请参阅发行说明。
</p>
</div>
</div>
<div class="sect2">
<h3 id="wildfly---a-quick-tour" title="WildFly - A Quick Tour">1.4. WildFly - 快速浏览</h3>
<div class="paragraph">
<p title="Now that you&#8217;ve downloaded WildFly 16, the next thing to discuss is the
layout of the distribution and explore the server directory structure,
key configuration files, log files, user deployments and so on. It&#8217;s
worth familiarizing yourself with the layout so that you&#8217;ll be able to
find your way around when it comes to deploying your own applications.">
  现在您已经下载了 WildFly 16，接下来要讨论的是发行版的布局，
  以及服务器目录结构、关键配置文件、日志文件、用户部署等。
  您应该熟悉这个布局，以便在部署自己的应用程序时能够找到自己的方法。
</p>
</div>
<div class="sect3">
<h4 id="wildfly-directory-structure" title="WildFly Directory Structure">1.4.1. WildFly 目录结构</h4>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
<col style="width: 50%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top" title="DIRECTORY">目录	</th>
<th class="tableblock halign-left valign-top" title="DESCRIPTION">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">appclient</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Configuration files, deployment content, and writable areas
used by the application client container run from this installation.">
从此安装运行的应用程序客户端容器使用的配置文件、部署内容和可写区域。
  </p>
</td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">bin</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Start up scripts, start up configuration files and various command
line utilities like Vault, add-user and Java diagnostic reportavailable
for Unix and Windows environments">
    启动脚本，启动配置文件以及各种命令行实用程序，如适用于 Unix 和 Windows 环境的 Vault，add-user 和 Java 诊断报告
  </p>
</td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">bin/client</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Contains a client jar for use by non-maven based clients.">
    包含供非基于 maven 的客户端使用的客户端 jar。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">docs/schema</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="XML schema definition files">
    XML 模式定义文件
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">docs/examples/configs</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Example configuration files representing
specific use cases">表示特定用例的配置文件示例</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">domain</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Configuration files, deployment content, and writable areas
used by the domain mode processes run from this installation.">
    从此安装运行的域模式进程使用的配置文件、部署内容和可写区域。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">modules</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="WildFly is based on a modular classloading architecture.
The various modules used in the server are stored here.">
    WildFly基于模块化的类加载架构。服务器中使用的各种模块都存储在这里。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">standalone</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Configuration files, deployment content, and writable areas
used by the single standalone server run from this installation.">
    从此安装运行的单个独立服务器使用的配置文件、部署内容和可写区域。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">welcome-content</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Default Welcome Page content">默认欢迎页面内容</p></td>
</tr>
</tbody>
</table>
<div class="sect4">
<h5 id="standalone-directory-structure" title="Standalone Directory Structure">独立模式目录结构</h5>
<div class="paragraph">
<p title="In standalone mode each WildFly 16 server instance is an
independent process (similar to previous JBoss AS versions; e.g., 3, 4, 5, or 6).
The configuration files, deployment content and writable areas used by the single standalone server run from a 
WildFly installation are found in the following subdirectories under the top level 'standalone' directory:">
在独立(<strong><em>standalone</em></strong>) 模式下，每个 WildFly 16 服务器实例都是一个独立的进程
（类似于以前的 JBoss AS 版本;例如，3,4,5或6）。
从 WildFly 安装运行的单个独立服务器使用的配置文件、部署内容和可写区域位于顶级“standalone”目录下的以下子目录中：</p>
</div>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
<col style="width: 50%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top" title="DIRECTORY">目录</th>
<th class="tableblock halign-left valign-top" title="DESCRIPTION">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">configuration</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Configuration files for the standalone server that runs
off of this installation. All configuration information for the running
server is located here and is the single place for configuration
modifications for the standalone server.">
  运行此安装的独立服务器的配置文件。正在运行的服务器的所有配置信息都位于此处，是独立服务器配置修改的唯一位置。
</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">data</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Persistent information written by the server to survive a restart of the server">
    服务器写入的持久性信息，以便在重新启动服务器后继续存在
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">deployments</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="End user deployment content can be placed in this
directory for automatic detection and deployment of that content into
the server&#8217;s runtime.NOTE: The server&#8217;s management API is recommended
for installing deployment content. File system based deployment scanning
capabilities remain for developer convenience.">
  可以将最终用户部署内容放置在此目录中，以便自动检测该内容并将其部署到服务器的运行时中。注意：建议在安装部署内容时使用服务器的管理API。为了开发人员的方便，基于文件系统的部署扫描功能仍然存在。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">lib/ext</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Location for installed library jars referenced by applications using the Extension-List mechanism">
    使用扩展列表机制的应用程序引用的已安装 jar 包的位置
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">log</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="standalone server log files">
    独立模式服务器日志文件
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">tmp</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="location for temporary files written by the server">
    服务器写入的临时文件的位置
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">tmp/auth</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Special location used to exchange authentication tokens with local clients so they can confirm that they are local to the running AS process.">
    用于与本地客户端交换身份验证令牌的特殊位置，以便它们可以确认它们是作为本地进程运行的。
  </p></td>
</tr>
</tbody>
</table>
</div>
<div class="sect4">
<h5 id="domain-directory-structure" title="Domain Directory Structure">域模式目录结构</h5>
<div class="paragraph">
<p title="A key feature of WildFly 16 is the managing multiple servers from a
single control point. A collection of multiple servers are referred to
as a ‘domain’. Domains can span multiple physical (or virtual)
machines with all WildFly instances on a given host under the control of
a Host Controller process. The Host Controllers interact with the Domain
Controller to control the lifecycle of the WildFly instances running on
that host and to assist the Domain Controller in managing them. The
configuration files, deployment content and writeable areas used by
domain mode processes run from a WildFly installation are found in the
following subdirectories under the top level ‘domain’ directory:">
WildFly 16 的一个关键功能是从单个控制点管理多个服务器。多个服务器的集合称为“<b><i>域</i></b>”。
域可以跨多个物理（或虚拟）计算机，在主机控制器进程的控制下的给定主机上的所有 WildFly实例。
主机控制器与域控制器交互，以控制在该主机上运行的 WildFly 实例的生命周期，并协助域控制器管理它们。
从WildFly安装运行的域模式进程使用的配置文件、部署内容和可写区域位于顶级“domain”目录下的以下子目录中：
</p>
</div>
<table class="tableblock frame-all grid-all spread">
<colgroup>
<col style="width: 50%;">
<col style="width: 50%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top" title="DIRECTORY">目录</th>
<th class="tableblock halign-left valign-top" title="DESCRIPTION">描述</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">configuration</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Configuration files for the domain and for the Host
Controller and any servers running off of this installation. All
configuration information for the servers managed wtihin the domain is
located here and is the single place for configuration information.">
    域、主机控制器和运行此安装的所有服务器的配置文件。域中管理的服务器的所有配置信息都位于此处，并且是配置信息的单一位置。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">content</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="an internal working area for the Host Controller that controls
this installation. This is where it internally stores deployment
content. This directory is not meant to be manipulated by end users.Note
that 'domain' mode does not support deploying content based on scanning
a file system.">
    控制此安装的主机控制器的内部工作区。这是它内部存储部署内容的地方。
    此目录不允许最终用户操作。请注意，“域” 模式不支持基于扫描文件系统部署内容。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">lib/ext</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Location for installed library jars referenced by applications using the Extension-List mechanism">
    使用扩展列表(Extension-List) 机制的应用程序引用的已安装 jar 包的位置
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">log</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Location where the Host Controller process writes its logs. The
Process Controller, a small lightweight process that actually spawns the
other Host Controller process and any Application Server processes also
writes a log here.">
    主机控制器进程写入其日志的位置。Process Controller（进程控制器）是一个小型的轻量级进程，它实际上生成了其他主机控制器进程，而其他任何 Application Server（应用服务器）进程也会在此处写入日志。
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">servers</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Writable area used by each Application Server instance that
runs from this installation. Each Application Server instance will have
its own subdirectory, created when the server is first started. In each
server&#8217;s subdirectory there will be the following subdirectories:data&#8201;&#8212;&#8201;information written by the server that needs to survive a restart of the
serverlog&#8201;&#8212;&#8201;the server&#8217;s log filestmp&#8201;&#8212;&#8201;location for temporary files
written by the server">
data&#8201;&#8212;&#8201;information written by the server that needs to survive a restart of the
server
log&#8201;&#8212;&#8201;the server&#8217;s log files
tmp&#8201;&#8212;&#8201;location for temporary files written by the server
    从此安装运行的每个 Application Server（应用程序服务器）实例使用的可写区域。
    每个 Application Server 实例都有自己的子目录，在服务器首次启动时创建。
    在每个服务器的子目录中，将有以下子目录：<br>
    data - 由服务器写入的信息，需要在服务器重新启动后仍然存在<br>
    log - 服务器的日志文件<br>
    tmp - 服务器写入的临时文件的位置<br>
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">tmp</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="location for temporary files written by the server">
    服务器写入的临时文件的位置
  </p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">tmp/auth</p></td>
<td class="tableblock halign-left valign-top">
  <p class="tableblock" title="Special location used to exchange authentication tokens with
local clients so they can confirm that they are local to the running AS
process.">
    用于与本地客户端交换身份验证令牌的特殊位置，以便它们可以确认它们是作为本地进程运行的。
  </p></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="sect3">
<h4 id="wildfly-10-configurations" title="WildFly 16 Configurations">1.4.2. WildFly 16 配置</h4>
<div class="sect4">
<h5 id="standalone-server-configurations" title="Standalone Server Configurations">独立模式服务器配置</h5>
<div class="ulist">
<ul>
<li>
<p>standalone.xml (<em>默认</em>)</p>
<div class="ulist">
<ul>
<li>
<p title="Java Enterprise Edition 8 web profile certified configuration with
the required technologies plus those noted in the table above.">
  具有所需技术的 Java Enterprise Edition 8 Web 配置文件认证配置以及上表中提到的技术。
</p>
</li>
</ul>
</div>
</li>
<li>
<p>standalone-ha.xml</p>
<div class="ulist">
<ul>
<li>
<p title="Java Enterprise Edition 8 web profile certified configuration with
high availability">
  Java Enterprise Edition 8 Web 配置文件认证配置具有高可用性
</p>
</li>
</ul>
</div>
</li>
<li>
<p>standalone-full.xml</p>
<div class="ulist">
<ul>
<li>
<p title="Java Enterprise Edition 8 full profile certified configuration
including all the required EE 8 technologies">
  Java Enterprise Edition 8 完整配置文件认证配置，包括所有必需的 EE 8 技术
</p>
</li>
</ul>
</div>
</li>
<li>
<p>standalone-full-ha.xml</p>
<div class="ulist">
<ul>
<li>
<p title="Java Enterprise Edition 8 full profile certified configuration with
high availability">
  Java Enterprise Edition 8 完整配置文件认证配置，具有高可用性
</p>
</li>
</ul>
</div>
</li>
</ul>
</div>
</div>
<div class="sect4">
<h5 id="domain-server-configurations" title="Domain Server Configurations">域模式服务器配置</h5>
<div class="ulist">
<ul>
<li>
<p>domain.xml</p>
<div class="ulist">
<ul>
<li>
<p title="Java Enterprise Edition 8 full and web profiles available with or
without high availability">
  Java Enterprise Edition 8 完整的 Web 配置文件可用，有或没有高可用性
</p>
</li>
</ul>
</div>
</li>
</ul>
</div>
<div class="paragraph">
<p title="Important to note is that the domain and standalone modes determine how the servers are managed not what capabilities they provide.">
  
  需要注意的重要一点是，<b><i>域</i></b> 和 <b><i>独立</i></b>
  模式决定了服务器的管理方式，而不是它们提供的功能。
  </p>
</div>
</div>
</div>
<div class="sect3">
<h4 id="starting-wildfly-10" title="Starting WildFly 16">1.4.3. 启动 WildFly 16</h4>
<div class="paragraph">
<p title="To start WildFly 16 using the default web profile configuration in 'standalone' mode, change directory to $JBOSS_HOME/bin.">
  要在 “<em>独立</em>” 模式下使用默认 Web 配置文件配置启动 WildFly 16，请将目录路径更改为 $JBOSS_HOME/bin.
</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>./standalone.sh</code></pre>
</div>
</div>
<div class="paragraph">
<p title="To start the default web profile configuration using domain management
capabilities,">
  要使用域管理功能启动默认 Web 配置文件配置，
</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>./domain.sh</code></pre>
</div>
</div>
</div>
<div class="sect3">
<h4 id="starting-wildfly-with-an-alternate-configuration" title="Starting WildFly with an Alternate Configuration">1.4.4. 使用备用配置启动 WildFly</h4>
<div class="paragraph">
<p title="If you choose to start your server with one of the other provided
configurations, they can be accessed by passing the --server-config
argument with the server-config file to be used.">
  如果您选择使用提供的其他配置启动服务器，则可以通过将 <code>--server-config</code> 参数与要使用的 <code>server-config</code> 文件一起传递来使用它们。
</p>
</div>
<div class="paragraph">
<p title="To use the full profile with clustering capabilities, use the following
syntax from $JBOSS_HOME/bin:">
  要使用具有群集功能的完整配置文件，请在 <code>$JBOSS_HOME/bin</code> 目录中使用以下语法：
</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>./standalone.sh --server-config=standalone-full-ha.xml</code></pre>
</div>
</div>
<div class="paragraph">
<p title="Similarly to start an alternate configuration in domain mode: ">
  与在 <em>域</em> 模式下启动备用配置类似：
</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>./domain.sh --domain-config=my-domain-configuration.xml</code></pre>
</div>
</div>
<div class="paragraph">
<p title="Alternatively, you can create your own selecting the additional
subsystems you want to add, remove, or modify.">
  或者，您可以创建自己选择的要添加、删除或修改的附加子系统。
</p>
</div>
<div class="sect4">
<h5 id="test-your-installation" title="Test Your Installation">测试您的安装</h5>
<div class="paragraph">
<p title="After executing one of the above commands, you should see output similar to what’s shown below.">
  在执行上述命令之一之后，您应该看到与如下所示类似的输出。
</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>=========================================================================
  JBoss Bootstrap Environment
 
  JBOSS_HOME: /opt/wildfly-10.0.0.Final
 
  JAVA: java
 
  JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=com.yourkit,org.jboss.byteman -Djava.awt.headless=true
 
=========================================================================
 
11:46:11,161 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
11:46:11,331 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
11:46:11,391 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting
&lt;snip&gt;
11:46:14,300 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started in 1909ms - Started 267 of 553 services (371 services are lazy, passive or on-demand)</code></pre>
</div>
</div>
<div class="paragraph">
<p title="As with previous WildFly releases, you can point your browser to http://localhost:8080 (if using the default configured http port) which brings you to the Welcome Screen: ">
  与之前的 WildFly 版本一样，您可以将浏览器指向
  <strong><em><a href="http://localhost:8080" class="bare">http://localhost:8080</a></em></strong>
（如果使用默认配置的 http 端口），它将带您进入欢迎屏幕：
</p>
</div>
<div class="paragraph">
<p><span class="image"><img src="images/wildfly.png" alt="wildfly.png"></span></p>
</div>
<div class="paragraph">
<p title="From here you can access links to the WildFly community documentation set, stay up-to-date on the latest project information, have a discussion in the user forum and access the enhanced web-based Administration Console. Or, if you uncover a defect while using WildFly, report an issue to inform us (attached patches will be reviewed). This landing page is recommended for convenient access to information about WildFly 16 but can easily be replaced with your own if desired.">
  从这里，您可以访问 WildFly 社区文档集的链接，及时了解最新的项目信息，
  在用户论坛中进行讨论并访问增强的基于 Web 的管理控制台。
  或者，如果您在使用 WildFly 时发现缺陷，
  请报告问题以通知我们（将审核附加的修补程序）。
  建议使用此登录页面以方便地访问有关 WildFly 16 的信息，但如果需要，
  可以轻松替换为您自己的登录页面。
</p>
</div>
</div>
</div>
<div class="sect3">
<h4 id="managing-your-wildfly-10" title="Managing your WildFly 16">1.4.5. 管理您的 WildFly 16</h4>
<div class="paragraph">
<p title="WildFly 16 offers two administrative mechanisms for managing your running instance:">
  WildFly 16 提供了两种管理运行实例的管理机制：
</p>
</div>
<div class="ulist">
<ul>
<li>
<p title="web-based Administration Console">基于Web的管理控制台</p>
</li>
<li>
<p title="command-line interface">命令行界面</p>
</li>
</ul>
</div>
<div class="sect4">
<h5 id="authentication" title="Authentication">认证</h5>
<div class="paragraph">
<p title="By default WildFly 16 is now distributed with security enabled for the management interfaces, this means that before you connect using the administration console or remotely using the CLI you will need to add a new user, this can be achieved simply by using the add-user.sh script in the bin folder.">
  默认情况下，WildFly 16 现已分发，并为管理界面启用了安全性，
  这意味着在使用管理控制台进行连接或使用 CLI 进行远程连接之前，您需要添加新用户，
  这可以通过使用 bin 文件夹中的 <i>add-user</i>.sh 脚本来实现。
</p>
</div>
<div class="paragraph">
<p title="After starting the script you will be guided through the process to add a new user: -">
  启动脚本后，将引导您完成添加新用户的过程： - 
</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>./add-user.sh
What type of user do you wish to add?
 a) Management User (mgmt-users.properties)
 b) Application User (application-users.properties)
(a):</code></pre>
</div>
</div>
<div class="paragraph">
<p title="In this case a new user is being added for the purpose of managing the
servers so select option a.">
  在这种情况下，为了管理服务器，添加了一个新用户，因此选择选项 a。
</p>
</div>
<div class="paragraph">
<p title="You will then be prompted to enter the details of the new user being
added: -">
  然后，系统将提示您输入要添加的新用户的详细信息： -</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>Enter the details of the new user to add.
Realm (ManagementRealm) :
Username :
Password :
Re-enter Password :</code></pre>
</div>
</div>
<div class="paragraph">
<p title="It is important to leave the name of the realm as 'ManagementRealm' as this needs to match the name used in the server’s configuration, for the remaining fields enter the new username, password and password confirmation. ">
  将领域的名称保留为 “ManagementRealm” 非常重要，
  因为这需要与服务器配置中使用的名称相匹配，其余字段输入新的用户名，密码和确认密码。
</p>
</div>
<div class="paragraph">
<p title="Provided there are no errors in the values entered you will then be
asked to confirm that you want to add the user, the user will be written
to the properties files used for authentication and a confirmation
message will be displayed.">
  如果输入的值没有错误，则会要求您确认是否要添加用户，将用户写入用于身份验证的属性文件，并显示确认消息。
</p>
</div>
<div class="paragraph">
<p title="The modified time of the properties files are inspected at the time of
authentication and the files reloaded if they have changed, for this
reason you do not need to re-start the server after adding a new user.">
  在身份验证时检查属性文件的修改时间，如果文件已更改则重新加载文件，因此在添加新用户后无需重新启动服务器。
</p>
</div>
</div>
<div class="sect4">
<h5 id="administration-console" title="Administration Console">管理控制台</h5>
<div class="paragraph">
<p title="To access the web-based Administration Console, simply follow the link
from the Welcome Screen. To directly access the Management Console,
point your browser at:">
  要访问基于 Web 的管理控制台，只需按照欢迎屏幕中的链接进行操作即可。要直接访问管理控制台，请将浏览器指向：
</p>
</div>
<div class="paragraph">
<p><strong><em><a href="http://localhost:9990/console" class="bare">http://localhost:9990/console</a></em></strong></p>
</div>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content" title="port 9990 is the default port configured.">
端口 9990 是配置的默认端口。
</td>
</tr>
</table>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="xml"><span class="tag">&lt;management-interfaces&gt;</span>
   <span class="tag">&lt;native-interface</span> <span class="attribute-name">security-realm</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">ManagementRealm</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
      <span class="tag">&lt;socket-binding</span> <span class="attribute-name">native</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">management-native</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
   <span class="tag">&lt;/native-interface&gt;</span>
   <span class="tag">&lt;http-interface</span> <span class="attribute-name">security-realm</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">ManagementRealm</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
      <span class="tag">&lt;socket-binding</span> <span class="attribute-name">http</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">management-http</span><span class="delimiter">&quot;</span></span><span class="tag">/&gt;</span>
   <span class="tag">&lt;/http-interface&gt;</span>
<span class="tag">&lt;/management-interfaces&gt;</span></code></pre>
</div>
</div>
<div class="paragraph">
<p title="If you modify the management-http socket binding in your running configuration: adjust the above command accordingly. If such modifications are made, then the link from the Welcome Screen will also be inaccessible.">
  如果在运行配置中修改 <em>management-http</em> 套接字绑定: 
  建议相应地调整上述命令。如果进行了此类修改，则欢迎屏幕中的链接也将无法访问。
</p>
</div>
<div class="paragraph">
<p title="If you have not yet added at least one management user an error page will be displayed asking you to add a new user, after a user has been added you can click on the 'Try Again' link at the bottom of the error page to try connecting to the administration console again.">
  如果您尚未添加至少一个管理用户，则会显示一个错误页面，要求您添加新用户，在添加用户后，您可以单击错误页面底部的 “重试” 链接以尝试再次连接到管理控制台。
</p>
</div>
</div>
<div class="sect4">
<h5 id="command-line-interface" title="Command-Line Interface">命令行界面</h5>
<div class="paragraph">
<p title="If you prefer to manage your server from the command line (or batching), the jboss-cli.sh script provides the same capabilities available via the web-based UI. This script is accessed from $JBOSS_HOME/bin directory; e.g.,">
  如果您更喜欢从命令行（或批处理）管理服务器，则 <i>jboss-cli.sh</i>
  脚本相比通过基于 Web 的 UI 提供相同的功能。该脚本可从 <code>$JBOSS_HOME/bin</code> 目录访问; 例如：
</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>$JBOSS_HOME/bin/jboss-cli.sh --connect
Connected to standalone controller at localhost:9990</code></pre>
</div>
</div>
<div class="paragraph">
<p title="Notice if no host or port information provided, it will default to
localhost:9990.">请注意，如果未提供主机或端口信息，则默认为 localhost:9990.</p>
</div>
<div class="paragraph">
<p title="When running locally to the WildFly process the CLI will silently authenticate against the server by exchanging tokens on the file system, the purpose of this exchange is to verify that the client does have access to the local file system. If the CLI is connecting to a remote WildFly installation then you will be prompted to enter the username and password of a user already added to the realm. ">
  当在本地运行到 WildFly 进程时，CLI 将通过在文件系统上交换令牌来静默地对服务器进行身份验证，
  此交换的目的是验证客户端是否可以访问本地文件系统。如果 CLI 连接到远程 WildFly 安装，
  则系统将提示您输入已添加到领域的用户的用户名和密码。
</p>
</div>
<div class="paragraph">
<p title="Once connected you can add, modify, remove resources and deploy or undeploy applications. For a complete list of commands and command syntax, type help once connected.">
  连接后，您可以添加、修改、删除资源以及部署或取消部署应用程序。
  有关命令和命令语法的完整列表，请在连接后键入 <b><i>help</i></b>。
</p>
</div>
</div>
</div>
<div class="sect3">
<h4 id="modifying-the-example-datasource" title="Modifying the Example DataSource">1.4.6. 修改示例数据源</h4>
<div class="paragraph">
<p title="As with previous JBoss application server releases, a default data source, ExampleDS , is configured using the embedded H2 database for developer convenience. There are two ways to define datasource configurations:">
  与之前的 JBoss 应用程序服务器版本一样，使用嵌入式 H2 数据库配置默认数据源
  <b><i>ExampleDS</i></b>，以方便开发人员。有两种方法可以定义数据源配置：
</p>
</div>
<div class="olist arabic">
<ol class="arabic">
<li>
<p title="as a module">作为一个模块</p>
</li>
<li>
<p title="as a deployment">作为部署</p>
</li>
</ol>
</div>
<div class="paragraph">
<p title="In the provided configurations, H2 is configured as a module. The module is located in the $JBOSS_HOME/modules/com/h2database/h2 directory. The H2 datasource configuration is shown below.">
  在提供的配置中，H2 被配置为模块。该模块位于 <code>$JBOSS_HOME/modules/com/h2database/h2</code>
  目录中。H2 数据源配置如下所示。</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="xml"><span class="tag">&lt;subsystem</span> <span class="attribute-name">xmlns</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">urn:jboss:domain:datasources:1.0</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
    <span class="tag">&lt;datasources&gt;</span>
        <span class="tag">&lt;datasource</span> <span class="attribute-name">jndi-name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">java:jboss/datasources/ExampleDS</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">pool-name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">ExampleDS</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
            <span class="tag">&lt;connection-url&gt;</span>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1<span class="tag">&lt;/connection-url&gt;</span>
            <span class="tag">&lt;driver&gt;</span>h2<span class="tag">&lt;/driver&gt;</span>
            <span class="tag">&lt;pool&gt;</span>
                <span class="tag">&lt;min-pool-size&gt;</span>10<span class="tag">&lt;/min-pool-size&gt;</span>
                <span class="tag">&lt;max-pool-size&gt;</span>20<span class="tag">&lt;/max-pool-size&gt;</span>
                <span class="tag">&lt;prefill&gt;</span>true<span class="tag">&lt;/prefill&gt;</span>
            <span class="tag">&lt;/pool&gt;</span>
            <span class="tag">&lt;security&gt;</span>
                <span class="tag">&lt;user-name&gt;</span>sa<span class="tag">&lt;/user-name&gt;</span>
                <span class="tag">&lt;password&gt;</span>sa<span class="tag">&lt;/password&gt;</span>
            <span class="tag">&lt;/security&gt;</span>
        <span class="tag">&lt;/datasource&gt;</span>
        <span class="tag">&lt;xa-datasource</span><span class="error"> </span><span class="attribute-name">jndi-name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">java:jboss/datasources/ExampleXADS</span><span class="delimiter">&quot;</span></span><span class="error"> </span><span class="attribute-name">pool-name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">ExampleXADS</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
           <span class="tag">&lt;driver&gt;</span>h2<span class="tag">&lt;/driver&gt;</span>
           <span class="tag">&lt;xa-datasource-property</span><span class="error"> </span><span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">URL</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>jdbc:h2:mem:test<span class="tag">&lt;/xa-datasource-property&gt;</span>
           <span class="tag">&lt;xa-pool&gt;</span>
                <span class="tag">&lt;min-pool-size&gt;</span>10<span class="tag">&lt;/min-pool-size&gt;</span>
                <span class="tag">&lt;max-pool-size&gt;</span>20<span class="tag">&lt;/max-pool-size&gt;</span>
                <span class="tag">&lt;prefill&gt;</span>true<span class="tag">&lt;/prefill&gt;</span>
           <span class="tag">&lt;/xa-pool&gt;</span>
           <span class="tag">&lt;security&gt;</span>
                <span class="tag">&lt;user-name&gt;</span>sa<span class="tag">&lt;/user-name&gt;</span>
                <span class="tag">&lt;password&gt;</span>sa<span class="tag">&lt;/password&gt;</span>
           <span class="tag">&lt;/security&gt;</span>
        <span class="tag">&lt;/xa-datasource&gt;</span>
        <span class="tag">&lt;drivers&gt;</span>
            <span class="tag">&lt;driver</span> <span class="attribute-name">name</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">h2</span><span class="delimiter">&quot;</span></span> <span class="attribute-name">module</span>=<span class="string"><span class="delimiter">&quot;</span><span class="content">com.h2database.h2</span><span class="delimiter">&quot;</span></span><span class="tag">&gt;</span>
                <span class="tag">&lt;xa-datasource-class&gt;</span>org.h2.jdbcx.JdbcDataSource<span class="tag">&lt;/xa-datasource-class&gt;</span>
            <span class="tag">&lt;/driver&gt;</span>
        <span class="tag">&lt;/drivers&gt;</span>
  <span class="tag">&lt;/datasources&gt;</span>
<span class="tag">&lt;/subsystem&gt;</span></code></pre>
</div>
</div>
<div class="paragraph">
<p title="The datasource subsystem is provided by the IronJacamar project. For a detailed description of the available configuration properties, please consult the project documentation.">
  数据源子系统由 <a href="http://www.jboss.org/ironjacamar">IronJacamar</a>
  项目提供。有关可用配置属性的详细说明，请参阅项目文档。
</p>
</div>
<div class="ulist">
<ul>
<li>
<p>IronJacamar 项目主页: <a href="http://www.jboss.org/ironjacamar" class="bare">http://www.jboss.org/ironjacamar</a></p>
</li>
<li>
<p>项目文档: <a href="http://www.jboss.org/ironjacamar/docs" class="bare">http://www.jboss.org/ironjacamar/docs</a></p>
</li>
<li>
<p title="Schema description">架构描述:
<a href="http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html/deployment.html#deployingds_descriptor" class="bare">http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html/deployment.html#deployingds_descriptor</a></p>
</li>
</ul>
</div>
<div class="sect4">
<h5 id="configure-logging-in-wildfly" title="Configure Logging in WildFly">配置 WildFly 中的日志记录</h5>
<div class="paragraph">
<p title="WildFly logging can be configured with the web console or the command line interface. You can get more detail on the Logging Configuration page.">
  可以使用 Web 控制台或命令行界面配置 WildFly 日志记录。您可以在 “<a href="Admin_Guide.html#Logging">日志记录配置</a>” 页面上获取更多详细信息。
</p>
</div>
<div class="paragraph">
<p title="Turn on debugging for a specific category with CLI:">使用 CLI 打开特定类别的调试：</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="CodeRay highlight nowrap"><code>/subsystem=logging/logger=org.jboss.as:add(level=DEBUG)</code></pre>
</div>
</div>
<div class="paragraph">
<p title="By default the server.log is configured to include all levels in it’s log output. In the above example we changed the console to also display debug messages.">
  默认情况下，<code>server.log</code> 配置为包含其日志输出中的所有级别。
  在上面的示例中，我们将控制台更改为也显示调试消息。
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="footer-text">
版本 16.0.0.Final<br>
最后更新于 2019-02-27 17:10:07 PST<br>
中文更新于 2019-04-10 15:49:16 CST
</div>
</div>
</body>
</html>